Minor change to previous refactor
authorjustbur <justin@burkett.cc>
Mon, 13 Jul 2015 12:59:39 +0000 (08:59 -0400)
committerjustbur <justin@burkett.cc>
Mon, 13 Jul 2015 12:59:39 +0000 (08:59 -0400)
which-key.el

index 04cf13d1319fe6e46016d036aad6646d4b905aaa..a08d71c4821a03d188332455498bab37a3f9194e 100644 (file)
@@ -678,8 +678,8 @@ BUFFER that follow the key sequence KEY-SEQ."
 
 (defsubst which-key//join-columns (columns)
   "Transpose columns into rows, concat rows into lines and concat rows into page."
-  (let* (;; pad columns to same length and reverse order
-         (padded (reverse (apply (apply-partially #'-pad "") columns)))
+  (let* (;; pad reversed columns to same length
+         (padded (apply (apply-partially #'-pad "") (reverse columns)))
          ;; transpose columns to rows
          (rows (apply #'cl-mapcar #'list padded)))
     ;; join lines by space and rows by newline